import java.io.Serializable;
import java.util.regex.Pattern;

public class WeiBo implements Serializable {
    private static final long serialVersionUID = 1L;
    private String title;
    private String content;
    private Integer like;
    private Integer comment;


    public WeiBo(String title, String content, Integer like) {
        this.title = title;
        this.content = content;
        this.like = like;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "WeiBo{" +
                "title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", like=" + like +
                ", comment=" + comment +
                '}';
    }
}
